package com.gree.flowable.app.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：180849
 * @date ：Created in 2021/4/26 16:12
 * @description：根据参数动态创建表的参数实体
 * @modified By：
 * @version: 1.0
 */
@ApiModel(description = "参数实体")
public class CreateTables {
    @ApiModelProperty("字段id")
    private String fields;
    @ApiModelProperty("备注")
    private String label;
    @ApiModelProperty("字段长度")
    private Integer length = 10;
    @ApiModelProperty("默认值")
    private String deft;
    @ApiModelProperty("字段类型")
    private String type;
    @ApiModelProperty("是否为空")
    private Integer allownull;
    @ApiModelProperty("是否主键")
    private Integer primary;

    public String getFields() {
        return fields;
    }

    public void setFields(String fields) {
        this.fields = fields;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public String getDeft() {
        return deft;
    }

    public void setDeft(String deft) {
        this.deft = deft;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getAllownull() {
        return allownull;
    }

    public void setAllownull(Integer allownull) {
        this.allownull = allownull;
    }

    public Integer getPrimary() {
        return primary;
    }

    public void setPrimary(Integer primary) {
        this.primary = primary;
    }
}
